export default class Constant {
    //public static host: string = 'http://192.168.31.78:8080';
    //public static host: string = 'http://192.168.0.126:8080';
    //public static host:string='https://media.threeperson.com';
    //public static host: string = 'http://192.168.43.218:8080';
    //public static host: string = 'http://localhost:8080';
    public static host: string = "https://avalon.threeperson.com";
    //public static host: string = "http://192.168.31.153:8080";
    //public static host: string = "http://192.168.164.194:8080";
    public static platform: string = 'wxmini';
    public static version: string = '1.0.0';
    //https://up-z1.qiniup.com
    //https://media.threeperson.com/wx/mini/sxb-nlgj
    public static cdnHost: string = "https://media-cdn.threeperson.com/";
    public static appName: string = "xiaohongs";
    public static deliveryDistance = 3000;
    //客户端 1 ；商户端 2
    public static merchant: number = 2;
    public static adId = "7z79opgb7rodlkrksn";
    public static h5host = "https://media.threeperson.com/h5";

    public static appId: string = 'abc52237A4124Dfbac32bc9f8ef57017';
    public static signKey: string = "2DaUsDeKzIdfp9u3";
    public static aesKey: string = "ds8hEJeIzddIp4u1";
    public static shareQrcode: string = "https://media.threeperson.com/wx/mini/qrcode";
    static FilePrefix: any;
    public static seo_keywords_short: string = "";
    public static seo_keywords_groups: string = Constant.appName;
    public static seo_keywords_all: string = Constant.appName;

}

export class Uri {
    public static wx_access_token: string = Constant.host + "/wx/access-token";
    public static wx_login: string = Constant.host + "/third/wx/login";
    public static dy_login: string = Constant.host + "/third/dy/login";
    public static wx_user: string = Constant.host + "/wx/user";
    public static user_data: string = Constant.host + "/user/data";
    public static get_phone: string = Constant.host + "/wx/phone/get";
    public static wx_archive_update: string = Constant.host + "/wx/archive/update";
    public static user_money_withdraw: string = Constant.host + "/user/money/withdraw";
    public static user_info_edit: string = Constant.host + "/user/info/edit";
    public static user_follow_list: string = Constant.host + "/user/follow/list";
    public static user_recommend: string = Constant.host + "/user/recommend";
    public static user_score_add: string = Constant.host + "/user/score/add";
    public static user_public_data: string = Constant.host + "/user/public/data";
    public static user_follow: string = Constant.host + "/user/follow";
    public static user_unfollow: string = Constant.host + "/user/unfollow";
    public static user_signin: string = Constant.host + "/user/signin";
    public static wx_share_data: string = Constant.host + "/wx/share-data";
    public static bind_phone: string = Constant.host + "/wx/bind-phone";
    public static merchant_order_refund: string = Constant.host + "/merchant/order/refund";
    public static merchant_order_query: string = Constant.host + "/merchant/order/query";
    public static merchant_order_receive: string = Constant.host + "/merchant/order/receive";
    public static payment_orders_create: string = Constant.host + "/payment/orders/create";
    public static qiniu_access_token: string = Constant.host + "/third/qiniu/access-token";
    public static user_order_create: string = Constant.host + "/user/order/create";
    public static user_order_pay: string = Constant.host + "/user/order/pay";
    public static user_order_query: string = Constant.host + "/user/order/query";

    public static common_configure_query: string = Constant.host + "/common/configure/query";
    public static goods_info_list_query: string = Constant.host + "/goods/info/list/query";
    public static commission_to_money: string = Constant.host + "/user/commission/to-money";
    public static commission_list_query: string = Constant.host + "/user/commission/list/query";
    public static money_list_query: string = Constant.host + "/user/money/list/query";
    public static score_list_query: string = Constant.host + "/user/score/list/query";
    public static notice_list_query: string = Constant.host + "/notice/info/list/query";
    public static post_info_save: string = Constant.host + "/post/info/save";
    public static post_info_offline: string = Constant.host + "/post/info/offline";
    public static post_recommend_list_query: string = Constant.host + "/post/recommend/list";
    public static post_user_list_query: string = Constant.host + "/post/user/list";
    public static post_user_like_list_query: string = Constant.host + "/post/user/like/list";
    public static post_user_collect_list_query: string = Constant.host + "/post/user/collect/list";
    public static post_info_list_query: string = Constant.host + "/post/info/list/query";
    public static post_project_list_query: string = Constant.host + "/post/project/list/query";
    public static post_category_list_query: string = Constant.host + "/post/category/list/query";


    public static post_action_like: string = Constant.host + "/post/action/like";
    public static post_action_unlike: string = Constant.host + "/post/action/unlike";
    public static post_action_share: string = Constant.host + "/post/action/share";
    public static post_action_collect: string = Constant.host + "/post/action/collect";
    public static post_action_uncollect: string = Constant.host + "/post/action/uncollect";


    public static post_operate_save: string = Constant.host + "/post/operate/save";
    public static ad_config: string = Constant.host + "/ad/config";
    public static ad_look: string = Constant.host + "/ad/look";
    public static tags_query: string = Constant.host + "/aigc/tags/query";
    public static models_query: string = Constant.host + "/aigc/models/query";
    public static prompt_query: string = Constant.host + "/aigc/prompt/query";
    public static models_image_query: string = Constant.host + "/aigc/models/image/query";
    public static prompt_tag_query: string = Constant.host + "/aigc/prompt/taglist";
    public static image_create: string = Constant.host + "/aigc/image/create";
    public static image_query: string = Constant.host + "/aigc/image/query";

    public static xhs_extract:string = Constant.host + "/xhs/extract";

    public static ai_generator_generate = Constant.host + "/aigc/generator/generate";
    public static ai_generator_rewrite = Constant.host + "/aigc/generator/rewrite";

    public static unauth_urls = [Uri.user_public_data, Uri.post_user_collect_list_query, Uri.post_user_like_list_query, Uri.post_user_list_query, Uri.qiniu_access_token, Uri.user_recommend, Uri.user_follow_list, Uri.post_recommend_list_query, Uri.dy_login, Uri.tags_query, Uri.prompt_tag_query, Uri.models_image_query, Uri.prompt_query, Uri.models_query, Uri.wx_access_token, Uri.wx_login, Uri.common_configure_query, Uri.goods_info_list_query, Uri.qrcode_list_query, Uri.qrcode_class_query, Uri.notice_list_query, Uri.post_info_list_query, Uri.post_info_list_query, Uri.post_category_list_query, Uri.post_project_list_query];
}

export class PayResult {
    public static cancel = "requestPayment:fail cancel";
}


export class FilePrefix {
    public static WX_AVATAR = "connection/wx/head/";
    public static WX_GROUP = "connection/wx/group/";
    public static POST_IMAGE = "connection/post/image";
    public static POST_VIDEO = "connection/post/video";
}

export class ShareParam {
    public static title = Constant.seo_keywords_groups;
    public static desc = "AI智能生成美图，快来试试吧";
}

export class GenerateResult {
    public static PROCESSING: number = 1;
    public static SUCCESS: number = 2;
    public static FAIL: number = 3;
}

export class TopBar {
    public static HOME = " ";
    public static PROMTP = "提示词";
    public static INFO = "我的资料";
    public static SETTINGS = "设置";
    public static QRCODE = "群二维码大全-兼职群、好友群、砍价群、拼车群、宝妈群 、帅哥群";
    public static CATEGORY = "分类";
    public static GOODS = "商品详情";
    public static ORDER_LIST = "订单";
    public static ORDER_INFO = "订单详情";
    public static USER = "我的";
    public static USER_SCORE = "我的积分";
    public static PUBLISH = "发布群";
    public static WITHDRAW = "提现秒到";
    public static MONEY_LIST = "余额列表";
    public static COMMISSION = "我的佣金";
    public static COMMISSION_LIST = "佣金列表";
    public static CART = "购物车"
    public static TASK_LIST = "任务"
    public static LOGIN = "登陆";
    public static ADDRESS = "收货地址";
    public static EDIT_ADDRESS = "编辑收货地址";
    public static ADD_ADDRESS = "添加收货地址";
    public static GOODS_MANAGER = "商品管理";
    public static ORDER_MANAGER = "订单管理";
    public static ORDER_SUBMIT = "订单提交";
    public static MERCHANT_INFO = "商户详情";
    public static INVITE = "邀请有礼-平台感激不尽";
    public static COMMISSION_RANK = "佣金排行";
    public static MERCHANT_MANAGER = "商户管理";
    public static CHANNEL_ORDER_MANAGER = "渠道订单管理";
    public static USER_LIST = "用户管理";
    public static SCORE_LIST = "积分明细";
    public static POST_PUBLISH = "帖子发布-分享他人，精彩自己";
    public static POST_INFO = "帖子详情";
    public static POST_LIST = "帖子列表-多翻翻或许有惊喜";
    public static QRCODE_USER = "我的群";
    public static PROJECT = "副业项目-可能有一款适合你";
    public static POST = "帖子";

}




